﻿// =================================================================== 
// 项目说明
//====================================================================
// sushee @Copy Right 2020
// 文件： CompanyEntity.cs
// 项目名称：斑马车务
// 创建时间：2020/5/19
// 负责人：sushee
// ===================================================================

using System;
using Dapper.Extensions;

namespace CRM.Infrastructure.Entity
{
	/// <summary>
	///数据实体  
	/// </summary>
    [PrimaryKey("CompanyID")]
	public class Company
	{
		///<summary>
		///
		///</summary>
		public Company()
		{
		}


        ///<summary>
        /// 公司ID
        ///</summary>
        [Column("CompanyID","公司ID")]
        public int CompanyID { get; set; }

		///<summary>
		///公司名称
		///</summary>
        [Column("CompanyName","公司名称")]
        public string CompanyName { get; set; }

		///<summary>
		///
		///</summary>
        [Column("AppKey","")]
        public string AppKey { get; set; }

		///<summary>
		///
		///</summary>
        [Column("AppSecret","")]
        public string AppSecret { get; set; }

		///<summary>
		///公司代码，用作集团号使用
		///</summary>
        [Column("CompanyCode","公司代码，用作集团号使用")]
        public string CompanyCode { get; set; }

		///<summary>
		///外呼服务器IP
		///</summary>
        [Column("CallServerIP","外呼服务器IP")]
        public string CallServerIP { get; set; }

		///<summary>
		///外呼服务器SIP端口号
		///</summary>
        [Column("CallSipPort","外呼服务器SIP端口号")]
        public string CallSipPort { get; set; }

		///<summary>
		///外呼服务Sip密码
		///</summary>
        [Column("CallSipPassword","外呼服务Sip密码")]
        public string CallSipPassword { get; set; }

		///<summary>
		///外呼服务主端口号码
		///</summary>
        [Column("CallMainPort","外呼服务主端口号码")]
        public string CallMainPort { get; set; }
        /// <summary>
        /// 目标电话DES加密密钥
        /// </summary>
        [Column("PhoneDESKey", "目标电话DES加密密钥")]
        public string PhoneDESKey { get; set; }

        ///<summary>
        ///创建时间
        ///</summary>
        [Column("CreatedTime","创建时间")]
        public DateTime CreatedTime { get; set; }

	}
}